package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * 
 * @ClassName: MrqViolation  
 * @Description ： 病案首页违规项   
 * @Date: 2018年7月26日 下午3:38:50  
 * @Author QiaoYiLong 
 * @Version 3.1.1 DHC-DRG
 */
@Entity
@Table(name="MRQ_VIOLATION", schema = "DRGs")
public class MrqViolation extends KoalaLegacyEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3843949119691770483L;

	public MrqViolation(){
		super();
	}
	
	//主键	
	@Id
	@Column(name = "ID",nullable=false)
	private String id;

	//病例ID
	@Column(name = "PMAININDEX",nullable=false)
	private String pmainIndex;
	
	//首页分项编码	
	@Column(name = "SCORE_CODE",nullable=false)
	private String scoreCode;

	//得分权重编码	
	@Column(name = "WEIGHT_CODE",nullable=false)
	private String weightCode;
	
	//病案首页校验规则代码	
	@Column(name = "RULE_CODE",nullable=false)
	private String ruleCode;
	//规则扣分
	private Double ruleScore;
	
	private String detailCode;

	public String getPmainIndex() {
		return pmainIndex;
	}
	public void setPmainIndex(String pmainIndex) {
		this.pmainIndex = pmainIndex;
	}
	
	public String getScoreCode() {
		return scoreCode;
	}

	public void setScoreCode(String scoreCode) {
		this.scoreCode = scoreCode;
	}

	public String getWeightCode() {
		return weightCode;
	}

	public void setWeightCode(String weightCode) {
		this.weightCode = weightCode;
	}

	public String getRuleCode() {
		return ruleCode;
	}

	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}

	public Double getRuleScore() {
		return ruleScore;
	}
	public void setRuleScore(Double ruleScore) {
		this.ruleScore = ruleScore;
	}
	
	public String getDetailCode() {
		return detailCode;
	}
	public void setDetailCode(String detailCode) {
		this.detailCode = detailCode;
	}
	public void setId(String id) {
		this.id = id;
	}

	@Override
	public Serializable getId() {
		return id;
	}

	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}

}
